package cn.itcast.zt.java8.model.factory.abstractFactory;

import cn.itcast.zt.java8.model.factory.staticFactory.JavaVideo;
import cn.itcast.zt.java8.model.factory.staticFactory.Video;

/**
 * create by zhangtian105 on 2021/8/3
 */
public class JavaCourseFactory extends CourseFactory {
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }

    @Override
    public Article getArticle() {
        return new JavaArticle();
    }
}
